﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ymatou.ServiceCenter.Domain.IRepositories;
using Ymatou.ServiceCenter.Domain.Models;

namespace Ymatou.ServiceCenter.Repository
{
    public class RpcClientConfigRepository : RepositoryBase<RpcClientConfig>, IRpcClientConfigRepository
    {
        public RpcClientConfig FindByAppId(string appId)
        {
            return this.GetById("Default", "rpcclientconfig", new { AppId = appId });
        }
    }
}
